package com.gdougms.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**@Title
 * @Description 用于返回一些网络请求操作之后结果的反馈
 * @Author iceF
 * @Date 2021/6/19
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@Scope("prototype")//开启多例
public class HttpMessage {
    private Integer code;
//    操作成功失败
    private boolean result;
    private String message;
    private Object object;

    public boolean getResult() {
        return this.result;
    }
}
